package com.wzu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String userid;
    private String password;
    private String fullname;
    private String role;

    public User(Integer id, String userid, String password,String fullname, String role){
        this.id = id;
        this.userid = userid;
        this.password = password;
        this.fullname = fullname;
        this.role = role;
    }
    public User(){
    }

    public Integer getId(){
        return id;
    }
    public void setId(Integer id){
        this.id = id;
    }
    public String getUserid(){ 
        return userid;
    }
    public void setUserid(String userid){
        this.userid = userid;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password){
        this.password = password;
    }
    public String getFullname(){
        return fullname;
    }
    public void setFullname(String fullname){
        this.fullname = fullname;
    }
    public String getRole(){
        return role;
    }
    public void setRole(String role){
        this.role = role;
    }
}
